Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 6 - Sequence Grabber Channel Components / Sequence Grabber Channel Components Reference
Functions / Configuration Functions for Sound Channel Components


SGSetSoundInputDriver

Some sound channel components may use sound input devices to obtain their source data. The SGSetSoundInputDriver function allows the sequence grabber component to assign a sound input device to your sound channel.

pascal ComponentResult SGSetSoundInputDriver (SGChannel c, 
                                       const Str255 driverName);
c
Identifies the channel connection for this operation.
driverName
Specifies the name of the sound input device. This is a Pascal string, and it must correspond to a valid sound input device.
DESCRIPTION
If your sound channel component does not use sound input devices, return a nonzero result code.

RESULT CODES
noDeviceForChannel -9400Channel component cannot find its device
cantDoThatInCurrentMode-9402Request invalid in current mode
deviceCantMeetRequest-9408Device cannot support grabber
SEE ALSO
For more information about sound input devices, see Inside Macintosh: More Macintosh Toolbox--in particular, refer to the discussion of the SPBGetIndexedDevice function in the chapter "Sound Manager."


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help